'use strict';

function collect_all_even(collection) {
  return collection.filter((item) => (item%2 === 0));
}

module.exports = collect_all_even;
// var collection_a = [1, 2, 3, 4, 5];
// console.log(collect_all_even(collection_a));